package com.hsw.habit.model;

/**
 * 
 * task_user
 *
 * @mbg.generated 
 */
public class User {
    /**
     *
     * task_user.id
     *
     * @mbg.generated 
     */
    private Integer id;

    /**
     *
     * task_user.username
     *
     * @mbg.generated 
     */
    private String userName;

    /**
     *
     * task_user.avatar
     *
     * @mbg.generated 
     */
    private String avatar;

    /**
     *
     * task_user.password
     *
     * @mbg.generated 
     */
    private String password;

    /**
     * 手机号
     *
     * task_user.phone
     *
     * @mbg.generated 
     */
    private String phone;

    /**
     * 邮箱
     *
     * task_user.email
     *
     * @mbg.generated 
     */
    private String email;

    /**
     *
     * task_user.created
     *
     * @mbg.generated 
     */
    private Integer created;

    /**
     *
     * task_user.updated
     *
     * @mbg.generated 
     */
    private Integer updated;

    /**
     *
     * task_user.isDeleted
     *
     * @mbg.generated 
     */
    private Short isDeleted;

    /**
     * @mbg.generated 
     */
    public Integer getId() {
        return id;
    }

    /**
     * @mbg.generated 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @mbg.generated 
     */
    public String getAvatar() {
        return avatar;
    }

    /**
     * @mbg.generated 
     */
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    /**
     * @mbg.generated 
     */
    public String getPassword() {
        return password;
    }

    /**
     * @mbg.generated 
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @mbg.generated 
     */
    public String getPhone() {
        return phone;
    }


    public String token;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    /**
     * @mbg.generated 
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * @mbg.generated 
     */
    public String getEmail() {
        return email;
    }

    /**
     * @mbg.generated 
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @mbg.generated 
     */
    public Integer getCreated() {
        return created;
    }

    /**
     * @mbg.generated 
     */
    public void setCreated(Integer created) {
        this.created = created;
    }

    /**
     * @mbg.generated 
     */
    public Integer getUpdated() {
        return updated;
    }

    /**
     * @mbg.generated 
     */
    public void setUpdated(Integer updated) {
        this.updated = updated;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Short getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Short isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", avatar='" + avatar + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", created=" + created +
                ", updated=" + updated +
                ", isDeleted=" + isDeleted +
                ", token='" + token + '\'' +
                '}';
    }
}